package club.framework.web.application.sys.menu.service;


import club.framework.web.application.sys.menu.entity.Menu;
import club.framework.web.base.entity.BasePageReqEntity;
import club.framework.web.base.entity.BasePageResultEntity;
import club.framework.web.base.service.IService;

import java.util.List;
import java.util.Map;

/**
 * Created by 念梓  on 2017/9/5.
 * Email:sunmch@163.com
 * author: 念梓
 * des:
 */
public interface IMenuService extends IService<Menu> {

    public BasePageResultEntity<Menu> queryPage(BasePageReqEntity<Menu> basePageReqEntity);

    public List<Menu> loadMenuByStep(int step);

    public List<Map<String,String>> loadMenuStep();

    public List<Menu> loadMenuByParentId(int parentId);

    public int deleteMenuByCode(String code);

    public Object loadMenuTreeByParentId(int parentId,int userId);




}
